package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考核内容对象 dw_task_content
 * 
 * @author ruoyi
 * @date 2024-01-19
 */
public class DwTaskContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容Id */
    private Long contentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long taskId;

    private String taskName;
    /** 内容名称 */
    @Excel(name = "内容名称")
    private String contentName;

    /** 内容类型 */
    @Excel(name = "内容类型")
    private String contentType;

    /** 内容得分 */
    @Excel(name = "内容得分")
    private Integer contentScore;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setContentName(String contentName) 
    {
        this.contentName = contentName;
    }

    public String getContentName() 
    {
        return contentName;
    }
    public void setContentType(String contentType) 
    {
        this.contentType = contentType;
    }

    public String getContentType() 
    {
        return contentType;
    }
    public void setContentScore(Integer contentScore) 
    {
        this.contentScore = contentScore;
    }

    public Integer getContentScore() 
    {
        return contentScore;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("taskId", getTaskId())
            .append("contentName", getContentName())
            .append("contentType", getContentType())
            .append("contentScore", getContentScore())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
